home *** CD-ROM | disk | FTP | other *** search
- function scrollText()
- {
- switch(textBox._currentframe)
- {
- case 1:
- return undefined;
- case 2:
- textBox._y = 175 - (slider._y - 153) / 145 * 60;
- break;
- case 3:
- textBox._y = 175 - (slider._y - 153) / 145 * 300;
- break;
- default:
- break;
- case 4:
- return undefined;
- }
- }
- function scrollArrowUp()
- {
- var _loc1_ = undefined;
- if(textBox._currentframe == 2)
- {
- _loc1_ = 10;
- }
- else
- {
- _loc1_ = 30;
- }
- if(textBox._y >= 175)
- {
- textBox._y = 175;
- slider._y = 151.7;
- return undefined;
- }
- if(textBox._y <= 185)
- {
- textBox._y += 5;
- slider._y = 151.7 - (textBox._y - 175) / _loc1_ * 14.3;
- return undefined;
- }
- if(glossText._y >= 185)
- {
- textBox._y = 175;
- slider._y = 151.7;
- }
- }
- function scrollArrowDown()
- {
- var _loc2_ = undefined;
- var _loc1_ = undefined;
- if(textBox._currentframe == 2)
- {
- _loc2_ = 100;
- _loc1_ = 125;
- }
- else
- {
- _loc2_ = 326.9;
- _loc1_ = -124.9;
- }
- if(textBox._y <= _loc1_)
- {
- textBox._y = _loc1_;
- slider._y = 295;
- return undefined;
- }
- if(textBox._y >= _loc1_)
- {
- textBox._y -= 5;
- slider._y = 151.7 - (textBox._y - 210) / _loc2_ * 143.3;
- }
- else if(textBox._y < _loc1_)
- {
- textBox._y = _loc1_;
- slider._y = 295;
- }
- }
- var myInterval;
- upBtn.enabled = false;
- downBtn.enabled = false;
- toolsCur._visible = false;
- tools2Cur._visible = false;
- catalogCur._visible = false;
- var thisMovieClip = this;
- button.prototype.tabEnabled = false;
- button.prototype.onRollOver = function()
- {
- flashToDirector("SetCursor","finger");
- };
- button.prototype.onRollOut = function()
- {
- flashToDirector("SetCursor","arrow");
- };
- gettingSarted.onPress = function()
- {
- startedCur._visible = true;
- toolsCur._visible = false;
- tools2Cur._visible = false;
- catalogCur._visible = false;
- upBtn.enabled = false;
- downBtn.enabled = false;
- textBox._y = 175;
- slider._y = 152;
- textBox.gotoAndStop(1);
- };
- galleryToolsBtn.onPress = function()
- {
- toolsCur._visible = true;
- startedCur._visible = false;
- tools2Cur._visible = false;
- catalogCur._visible = false;
- upBtn.enabled = true;
- downBtn.enabled = true;
- textBox._y = 175;
- slider._y = 152;
- textBox.gotoAndStop(2);
- };
- moreTools.onPress = function()
- {
- tools2Cur._visible = true;
- toolsCur._visible = false;
- startedCur._visible = false;
- catalogCur._visible = false;
- upBtn.enabled = true;
- downBtn.enabled = true;
- textBox._y = 175;
- slider._y = 152;
- textBox.gotoAndStop(3);
- };
- artCatalog.onPress = function()
- {
- catalogCur._visible = true;
- toolsCur._visible = false;
- tools2Cur._visible = false;
- startedCur._visible = false;
- upBtn.enabled = false;
- downBtn.enabled = false;
- textBox._y = 175;
- slider._y = 152;
- textBox.gotoAndStop(4);
- };
- upBtn.onPress = function()
- {
- scrollArrowUp();
- myInterval = setInterval(scrollArrowUp,50);
- };
- upBtn.onRelease = function()
- {
- clearInterval(myInterval);
- };
- upBtn.onReleaseOutside = function()
- {
- clearInterval(myInterval);
- };
- downBtn.onPress = function()
- {
- scrollArrowDown();
- myInterval = setInterval(scrollArrowDown,50);
- };
- downBtn.onRelease = function()
- {
- clearInterval(myInterval);
- };
- downBtn.onReleaseOutside = function()
- {
- clearInterval(myInterval);
- };
- closeGuide.onPress = function()
- {
- thisMovieClip._visible = false;
- };
- printPage.onPress = function()
- {
- var _loc1_ = new PrintJob();
- var _loc2_ = _loc1_.start();
- if(_loc2_)
- {
- var _loc4_ = _loc1_.addPage("printClip");
- var _loc3_ = _loc1_.addPage("printClip2");
- _loc3_ = _loc1_.addPage("printClip3");
- if(!_loc4_ || !_loc3_ || !page3OK)
- {
- }
- _loc1_.send();
- }
- false;
- };
- slider.onPress = function()
- {
- flashToDirector("SetCursor","hand");
- startDrag(slider,0,614,152,614,297);
- myInterval = setInterval(scrollText,50);
- };
- slider.onRelease = function()
- {
- flashToDirector("SetCursor","finger");
- clearInterval(myInterval);
- stopDrag();
- };
- slider.onReleaseOutside = function()
- {
- flashToDirector("SetCursor","finger");
- clearInterval(myInterval);
- stopDrag();
- };
-